<template>
<div class="MeTopBar">
  <div class="item">
    <span class="iconfont icon-saoyisao"></span>
  </div>
  <div class="item">
    <span class="iconfont icon-search"></span>
    <span>搜索知乎内容</span>
  </div>
  <div class="item">
    <span class="iconfont icon-yueliang"></span>
    <span class="iconfont icon-shezhi"></span>
  </div>
</div>
</template>

<script>
export default {
name: "Me"
}
</script>

<style scoped>
.MeTopBar{
  z-index: 999;
  opacity:1;
  height: 40px;
  line-height: 40px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-items: center;
  width: 100%;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.9);
}

.MeTopBar .item:nth-child(1){
  width: 20%;
}
.MeTopBar .item:nth-child(2){
  width: 60%;
  border-radius:15px ;
  background-color: #ccc;
  color: #fff;
  font-size: 20px;
}
.MeTopBar .item:nth-child(3){
  width: 20%;
  color: #000000;
}
.MeTopBar .item{
  text-align: center;
  font-size: 16px;
}
.MeTopBar .item .iconfont{
  font-size: 30px;
}
.MeTopBar .item:nth-child(2) .iconfont{
  font-size: 20px;
}

</style>